@code-pushup/coverage-plugin 0.44.4 → 0.45.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,6 +7,7 @@
7
7
  🧪 **Code PushUp plugin for tracking code coverage.** ☂️
8
8
 
9
9
  This plugin allows you to measure and track code coverage on your project.
10
+ It accepts the LCOV coverage format and merges coverage results from any test suites provided.
10
11
 
11
12
  Measured coverage types are mapped to Code PushUp audits in the following way
12
13
 
@@ -213,7 +214,11 @@ For instance, the following can be an audit output for line coverage.
213
214
  }
214
215
  ```
215
216
 
216
- ### Providing coverage results in Nx monorepo
217
+ ### Coverage results alteration
218
+
219
+ At the moment, the LCOV results include `(empty-report)` functions with missing coverage. These point to various imports or exports, not actual functions. For that reason, they are omitted from the results.
220
+
221
+ ## Providing coverage results in Nx monorepo
217
222
 
218
223
  As a part of the plugin, there is a `getNxCoveragePaths` helper for setting up paths to coverage results if you are using Nx. The helper accepts all relevant targets (e.g. `test` or `unit-test`) and searches for a coverage path option.
219
224
  Jest and Vitest configuration options are currently supported: